package com.bdqn.t330.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.t330.entity.Role;
import com.bdqn.t330.entity.User;
import com.bdqn.t330.mapper.RoleMapper;
import com.bdqn.t330.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RoleServiceImp extends ServiceImpl<RoleMapper, Role> implements RoleService {

    @Resource
    RoleMapper roleMapper;

    @Override
    public List<Role> getRoleListBiz() {
        return roleMapper.selectList(null);
    }
}
